import request from '@/utils/request'

export function getPropellings(query) {
  return request({
    url: '/popularize/propelling/getList',
    method: 'post',
    data: query
  })
}

export function getPropelling(id) {
  return request({
    url: '/popularize/propelling/getDetail',
    method: 'post',
    data: id
  })
}

export function savePropelling(id) {
  return request({
    url: '/popularize/propelling/save',
    method: 'post',
    data: id
  })
}

export function removePropellingByID(id) {
  return request({
    url: '/popularize/propelling/remove',
    method: 'post',
    data: id
  })
}

export function deletePropellingByID(id) {
  return request({
    url: '/popularize/propelling/delete',
    method: 'post',
    data: id
  })
}

export function changePropellingStatusByID(id) {
  return request({
    url: '/popularize/propelling/change-status',
    method: 'post',
    data: id
  })
}

